
def sayHolle(*args): #星号表示把传入的所有参数当成一个元组中所有的元素传给args,也就是说像是一个"集合"
    for name in args:
        print("Hello "+ name)
sayHolle()
sayHolle('Henry','Partinton')
sayHolle('Henry','Partinton','Tony Spark')

# 三层打印效果如下
'''
Hello Henry
Hello Partinton
Hello Henry
Hello Partinton
Hello Tony Spark

'''
